# Create an interactive plot that shows state mentions per state populationimport plotly.express as pximport numpy as npimport pandas as pddata = pd.read_csv('tmp/state_mentions_ranking.csv')data = data.rename(columns={"mentions_per_pop": "mentions"})fig = px.bar(data, x='states_mentioned', y='mentions', color_discrete_sequence=["#AC88FF"], template='plotly_white', hover_data={'mentions':':.2f','states_mentioned':False}, labels={"mentions": "Mentions per 100,000 people","states_mentioned": ""})fig.update_layout(xaxis={'categoryorder':'total descending'}, width=900, height=600)fig.show()